package com.billing.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.PerformanceMapper;
import com.billing.model.entity.TPerformance;
import com.billing.model.entity.PerformanceList;
import com.billing.service.PerformanceService;
@Service
public class PerformanceServiceImpl implements PerformanceService{

	@Resource
	private PerformanceMapper performanceMapper;
	@Override
	public int insert(TPerformance performance) {
		return performanceMapper.insert(performance);
	}
	@Override
	public List<Map<String, Object>> getPerformanceList(int userid) {
		return performanceMapper.getPerformanceList(userid);
	}
	@Override
	public int insertPerformanceList(PerformanceList performance) {
		return performanceMapper.insertPerformanceList(performance);
	}

}
